/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package padraoIterator;

import java.util.Iterator;
import managementcollaborators.*;

/**
 *
 * @author Kdc
 */
public class Colaboradores implements LeDados {

    Collaborator[] vetColaborador;

    public Colaboradores() {

        vetColaborador = ManagementCollaboratorsSystem.getCollaborators();
    }

    @Override
    public Iterator creatIterator() {

        return new ColaboradorIt(vetColaborador);

    }

}
